cmake_minimum_required(VERSION 3.13)
project(Harold)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/usr/local/include -L/usr/local/lib")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I/usr/local/include -L/usr/local/lib")
set(CMAKE_BUILD_TYPE "Debug")
set(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O3 -W -pg -g -ggdb")
set(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -W")

add_executable(Harold main.cpp TestFramework/HaroldDebug.h TestFramework/GTEST_MAIN.cpp TestFramework/BENCHMARK_MAIN.cpp TestFramework/DOCTEST_MAIN.cpp TestFramework/BOOSTTEST_MAIN.cpp Inc/Matrix.h Test/UnitTest/testMatrix/testMatrix.cpp Inc/ScopeGuard.h Test/UnitTest/testScopeGuard/testScopeGuard.cpp)
target_link_libraries(Harold -lgtest -lgmock -lpthread -lglog -lbenchmark -lboost_unit_test_framework)